package com.itcast.mallapplet.service;

import com.itcast.admin.vo.OrderAllVO;
import com.itcast.applet.dto.OrderDTO;
import com.itcast.applet.vo.OrderVO;

import java.util.List;

public interface OrderService {

    //新增订单
    void orderAdd(OrderDTO orderDTO);

    //查询单个订单
    OrderVO orderQuery(Long id);

    //查询该用户的全部订单
    List<OrderAllVO> orderQueryAll();

    //订单退款
    void orderRefund(Long id);
}
